
<div id="print_html">
	<link href="/assets/css/backend.css?v=1581391093" rel="stylesheet">
	<style type="text/css">
		h3{
			margin-bottom: 40px;
		}
		#print_html{
			font-size: 11px!important;
			overflow: hidden;
		}
		.table-head>tbody>tr>th,
		.table-head>tbody>tr>td {
			border: 0px;
			padding: 5px;
			line-height: 1;
		}
		.table>tbody>tr>th,
		.table>tbody>tr>td {
			font-size: 12px;
		}
		.table>thead>tr>th{
			font-size: 12px;
		}
		.wanlpay span{
			margin-left: 10px;
		}
	</style>

	{volist name="row" id="order"}
		<h3 align="center">{:__('商品发货单')}</h3>
		<table class="table table-head">
			<tbody>
			<tr>
				<td>{:__('用户名')}：{$order.user.username}</td>
				<td colspan="2">{:__('姓名')}：{$order.address.name}</td>
				<td style="text-align: right;">{:__('订单号')}：{$order.order_no}</td>
			</tr>
			<tr>
				<td>{:__('地址')}：{$order.address.address}</td>
				<td colspan="2">{:__('手机号')}：{$order.address.mobile}</td>
				<td style="text-align: right;">{:__('Createtime')}：{$order.createtime|datetime}</td>
			</tr>
			</tbody>
		</table>
		<table class="table table-bordered">
			<thead>
			<tr>
				<th>{:__('商品名称')}</th>
				<th>{:__('商家编码')}</th>
				<th>{:__('购买规格')}</th>
				<th>{:__('数量')}</th>
				<th>{:__('商品单价')}</th>
				<th>{:__('快递费用')}</th>
				<th>{:__('优惠')}</th>
			</tr>
			</thead>
			<tbody>
			{volist name="order.ordergoods" id="goods"}
			<tr>
				<td>{$goods.title}</td>
				<td>{$goods.goods_sku_sn}</td>
				<td>{$goods.difference}</td>
				<td>{$goods.number}</td>
				<td>￥ {$goods.price}</td>
				<td>￥ {$goods.freight_price}</td>
				<td>￥ {$goods.discount_price}</td>
			</tr>
			{/volist}
			<tr>
				<td colspan="7">
					<div class="wanlpay" align="right">

						<p>{:__('总数量')}：{$order.pay.number}</p>
						<p>{:__('实际支付')}：{$order.pay.actual_payment}</p>
						<p><span>{:__('商品金额')}：{$order.pay.order_price}</span>
							<span>{:__('总运费')}：{$order.pay.freight_price}</span>
							<span>{:__('优惠金额')}：{$order.pay.discount_price}</span>
							<span>{:__('总金额')}：{$order.pay.price}</span></p>
					</div>
				</td>
			</tr>
			</tbody>
		</table>

		<div style="margin-bottom: 50px;"> </div>
		<div style="page-break-after: always;"></div>
	{/volist}

</div>

<div class="form-group layer-footer">
	<label class="control-label col-xs-12 col-sm-1"></label>
	<div class="col-xs-12 col-sm-10">
		<div class="btn btn-success btn-embossed"> {:__('打印发货单')} </div>
	</div>
</div>
